/*
This CSS reset/restore file is a combination of two files:
http://monc.se/tripoli/css/reset.css
http://monc.se/tripoli/css/generic.css

Project: Blank CSS Template
Project Website: http://code.google.com/p/blank-css-template/
License: GNU-GPL v2
file: reset.css
*/

/* RESET CSS */
* { margin: 0; padding: 0; text-decoration: none; font-size: 1em; outline: none; }
code, kbd, samp, pre, tt, var, textarea, input, select, isindex, listing, xmp, plaintext { font: inherit; font-size: 1em; white-space: normal; }
dfn, i, cite, var, address, em { font-style: normal; }
th, b, strong, h1, h2, h3, h4, h5, h6 { font-weight: normal; }
a, img, a img, iframe, form, fieldset, abbr, acronym, object, applet, table { border: none; }
table { border-collapse: collapse; border-spacing: 0; }
caption, th, td, center { text-align: left; vertical-align: top; }
body { line-height: 1; background: white; color: black; }
q { quotes: "" ""; }
ul, ol, dir, menu { list-style: none; }
sub, sup { vertical-align: baseline; }
a { color: inherit; }
hr { display: none; } /* we don't need a visual hr in layout */
font { color: inherit !important; font: inherit !important; color: inherit !important; } /* disables some nasty font attributes in standard browsers */
marquee { overflow: inherit !important; -moz-binding: none; }
blink { text-decoration: none; }
nobr { white-space: normal; }

/* RESTORE CSS */
html { font-size: 62.5%; font-family: helvetica, "microsoft sans serif", arial, sans-serif; }
strong, th, thead td, h1, h2, h3, h4, h5, h6, dt { font-weight: bold; }
cite, em, dfn { font-style: italic; }
code, kbd, samp, pre, tt, var, input[type='text'], input[type='password'], textarea { font-size: 92%; font-family: monaco, "Lucida Console", courier, mono-space; }
pre { white-space: pre; }
pre * { font-size: 100%; white-space: pre; }
del { text-decoration: line-through; color: #666; }
ins, dfn { border-bottom: 1px solid #ccc; }
small, sup, sub { font-size: 85%; }
big { font-size: 125%; line-height: 80%; }
abbr, acronym { text-transform: uppercase; font-size: 85%; letter-spacing: .1em; }
a abbr, a acronym { border: none; }
abbr[title], acronym[title], dfn[title] { cursor: help; border-bottom: 1px solid #ccc; }
sup { vertical-align: super; }
sub { vertical-align: sub; }
a:link, a:visited, a:hover, a:active, a:focus { text-decoration: underline; }

blockquote { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; color: #666; }
blockquote > *:before { content: "\201C"; }
blockquote > *:after { content: "\201D"; }

q { quotes: "\201C" "\201D" "\2018" "\2019"; }
:lang(af), :lang(nl), :lang(pl) { quotes: '\201E' '\201D' '\201A' '\2019'; }
:lang(bg), :lang(cs), :lang(de), :lang(is), :lang(lt), :lang(sk), :lang(sr), :lang(ro) { quotes: '\201E' '\201C' '\201A' '\2018'; }
:lang(da), :lang(hr) { quotes: '\00BB' '\00AB' '\203A' '\2039'; }
:lang(el), :lang(es), :lang(sq), :lang(tr) { quotes: '\00AB' '\00BB' '\2039' '\203A'; }
:lang(en-GB) { quotes: '\2018' '\2019' '\201C' '\201D'; }
:lang(fi), :lang(sv) { quotes: '\201D' '\201D' '\2019' '\2019'; }
:lang(fr) { quotes: '\ab\2005' '\2005\bb' '\2039\2005' '\2005\203a'; }

*[lang|='en'] q:before   { content: '\201C'; }
*[lang|='en'] q:after    { content: '\201D'; }
*[lang|='en'] q q:before { content: '\2018'; }
*[lang|='en'] q q:after  { content: '\2019'; }

fieldset { border: 1px solid #ccc; }
legend { background: #fff; }
textarea, input[type='text'], select { border: 1px solid #ccc; background: #fff; }
textarea:hover, input[type='text']:hover, input[type='password']:hover, select:hover { border-color: #aaa; }
textarea:focus, input[type='text']:focus, input[type='password']:focus, select:focus { border-color: #888; outline: 2px solid #ddd; }
input[type='button'], input[type='submit'], input[type='checkbox'], input[type='image'], input[type='radio'], input[type='reset'], select, button { cursor: pointer; }
input[type='hidden'] { display:none; }

#mainWrapper { font-size: 1.2em; line-height: 1.6em; }
#mainWrapper h1 { font-size: 1.6em; }
#mainWrapper h2 { font-size: 1.5em; }
#mainWrapper h3 { font-size: 1.4em; }
#mainWrapper h4 { font-size: 1.3em; }
#mainWrapper h5 { font-size: 1.2em; }
#mainWrapper h6 { font-size: 1em; }

#mainWrapper hr { display: block; background: #aaa; color: #aaa; width: 100%; height: 1px; border: none; }

#mainWrapper ul{list-style: disc outside;}
#mainWrapper ol{list-style: decimal outside;}

#mainWrapper table { border-top: 1px solid #ccc;  border-left: 1px solid #ccc; }
#mainWrapper th, #mainWrapper td { border-bottom: 1px solid #ddd; border-right: 1px solid #ccc; }

#mainWrapper hr, #mainWrapper p, #mainWrapper ul, #mainWrapper ol, #mainWrapper dl, #mainWrapper pre, #mainWrapper blockquote, #mainWrapper address, #mainWrapper table, #mainWrapper form { margin-bottom: 1.6em; }
#mainWrapper p+p { margin-top: -.8em; }
#mainWrapper h1 { margin: 1em 0 .5em;  }
#mainWrapper h2 { margin: 1.07em 0 .535em; }
#mainWrapper h3 { margin: 1.14em 0 .57em; }
#mainWrapper h4 { margin: 1.23em 0 .615em; }
#mainWrapper h5 { margin: 1.33em 0 .67em; }
#mainWrapper h6 { margin: 1.6em 0 .8em; }
#mainWrapper th, #mainWrapper td { padding: .8em; }
#mainWrapper caption { padding-bottom: .8em; }
#mainWrapper blockquote { padding: 0 1em; margin: 1.6em 0; }
#mainWrapper fieldset { padding: 0 1em 1em 1em; margin: 1.6em 0; }
#mainWrapper legend { padding-left: .8em; padding-right: .8em; }
#mainWrapper legend+* { margin-top: 1em; }
#mainWrapper textarea, #mainWrapper input { padding: .3em .4em .15em .4em; }
#mainWrapper select { padding: .1em .2em 0 .2em; }
#mainWrapper option { padding: 0 .4em .1em; }
#mainWrapper a { position: relative; padding: 0.3em 0 .1em 0; }
#mainWrapper dt { margin-top: .8em; margin-bottom: .4em; }
#mainWrapper ul, #mainWrapper ol { margin-left: 2.2em; }
#mainWrapper ul ul, content ol ul, #mainWrapper ul ol, content ol ol { margin-bottom: 0; }
#mainWrapper form div { margin-bottom: .8em; }
#mainWrapper button { padding: 0.3em 0.5em; }
#mainWrapper blockquote > * { margin: .8em 0; }

#mainWrapper code, #mainWrapper pre { color: #c33; }
